
#ifndef __CONNECTION_FACTORY_H__
#define __CONNECTION_FACTORY_H__

#include <Poco/Net/TCPServerConnection.h>
#include <Poco/Net/TCPServerConnectionFactory.h>
#include <Poco/Net/StreamSocket.h>

using Poco::Net::TCPServerConnection;
using Poco::Net::TCPServerConnectionFactory;
using Poco::Net::StreamSocket;

class ConnectionFactory : public TCPServerConnectionFactory
{
public:
	ConnectionFactory();
	virtual ~ConnectionFactory();

	virtual TCPServerConnection* createConnection(const StreamSocket& socket);
};

#endif	// __CONNECTION_FACTORY_H__
